<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <title>Swiper demo</title>
    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="../../base/css/swiper.min.css">
    <link rel="stylesheet" href="../../base/css/animate.min.css">
    <link rel="stylesheet" href="../../base/css/public.css">
    <style>
        *{
            margin:0;
            padding:0;
        }
        html,body{
            height:100%;
        }
        body{
            font-family:"microsoft yahei";
        }
        .swiper-container {
            /*  width: 320px;
              height: 480px;*/
            width: 100%;
            height: 100%;
            background:#fff;
        }
        .swiper-slide{
        }
        .swiper-slide{
            width:100%;
            height:100%;
            background:url(images/yxj-bg.png) no-repeat left top;
            background-size:100% 100%;
        }
        img{
            display:block;
        }
        .swiper-pagination-bullet {
            width: 6px;
            height: 6px;
            background: #fff;
            opacity: .4;
        }
        .swiper-pagination-bullet-active {
            opacity: 1;
        }
        @-webkit-keyframes tipmove{0%{bottom:10px;opacity:0}50%{bottom:15px;opacity:1}100%{bottom:20px;opacity:0}}
        /*.ani{*/
            /*position:absolute;*/
        /*}*/
        /*.txt{*/
            /*position:absolute;*/
        /*}*/
        #array{
            position:absolute;z-index:999;left:50%;margin-left:-12px;-webkit-animation: tipmove 1.5s infinite ease-in-out;
        }
        .cy-poetry{
            position: absolute;
            bottom: 40px;
            right: 25px;
        }
        .cy-poetry p{
            font-size: 16px;
            font-weight: bold;
            width: 15px;
            float: right;
            color: #880108;
            margin: 0 15px;
        }
    </style>
</head>
<body>
<div class="swiper-container swiper-container-vertical swiper-container-ios">
    <div class="swiper-wrapper">
        <section class="swiper-slide">
            <img src="images/flower.png" class="ani resize" width="158" height="162" swiper-animate-effect="fadeInLeft" swiper-animate-duration="0.5s" swiper-animate-delay="0.5s" alt="" style="position: absolute;left: 15px;top: 15px;">
            <div class="cy-poetry">
                <p class="ani resize" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="1.5s">薄雾浓云愁永昼 ， 瑞脑消金兽。</p>
                <p class="ani resize" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="3.0s">佳节又重阳 ，玉枕纱厨 ，半夜凉初透。</p>
                <p class="ani resize" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="4.5s">东篱把酒黄昏后 ，有暗香盈袖。</p>
                <p class="ani resize" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="6.0s">莫道不消魂。</p>
                <p class="ani resize" swiper-animate-effect="fadeInRight" swiper- -duration="1s" swiper-animate-delay="7.5s">帘卷西风 ，人比黄花瘦。</p>
            </div>
        </section>
        <section class="swiper-slide">

        </section>
    </div>
</div>

<img src="images/web-swipe-tip.png" id="array" class="resize">


<script src="../../base/js/swiper.min.js"></script>
<script src="../../base/js/swiper.animate.min.js"></script>
<script>
    var mySwiper = new Swiper ('.swiper-container', {
        direction : 'vertical',
        pagination: {
            el:'.swiper-pagination',
        },
        mousewheel: true,
        on:{
            init: function(){
                swiperAnimateCache(this);
                swiperAnimate(this);
            },
            slideChangeTransitionEnd: function(){
                swiperAnimate(this);
            }
        }
    })
</script>
</body>
</html>
